package com.lei.chinese_herbal_medicine.Mapper;

import com.lei.chinese_herbal_medicine.Entity.PageData;
import com.lei.chinese_herbal_medicine.Entity.UserInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserInfoMapper {
    int deleteByPrimaryKey(String id);

    int insert(UserInfo record);

    int insertSelective(UserInfo record);

    Integer selectCount();
    UserInfo selectByPrimaryKey(String id);
    UserInfo selectByUser(UserInfo userInfo);
    List<UserInfo> selectByUserInfo(@Param("userInfo")UserInfo userInfo,@Param("pageData") PageData pageData);
    int updateByPrimaryKeySelective(UserInfo record);

    int updateByPrimaryKeyWithBLOBs(UserInfo record);

    int updateByPrimaryKey(UserInfo record);
}
